package main
import "fmt"
func add(x,y int)int{
	return x+y
}
func sub(x,y int)int{
	return x-y
}
type calcType func(int,int) int
func calc(x,y int,cb calcType) int{
     return cb(x,y)
}
func main(){
    sum:=calc(53,38,add)
	fmt.Println(sum)
	sum2:=calc(28,15,sub)
	fmt.Println(sum2)
	j:=calc(53,84,func(x,y int)int{
		return x*y
	})
	fmt.Println(j)
}